setStrokeDashStartCap

abstract fun setStrokeDashStartCap(block: DesignBlock, cap: StrokeCap)

Set the cap geometry at the leading edge of each dash piece (excluding the line's actual start). Only takes effect when a dash pattern is active. Distinct from setStrokeStartCap, which only applies to the start of the open path itself.

Parameters

block

the block whose dash start cap should be set.

cap

the cap geometry to use at the leading edge of each dash piece.